import java.util.Scanner;

public class Test {
    public static int add(int n,int m){
        return Math.max(n,m);
    }
    public static double add(double a,double b,double c){
        double sum = Math.max(a,b);
        return Math.max(sum,c);
    }
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int m = sc.nextInt();
        int ret = add(n,m);
        System.out.println("整数最大值为： "+ret);

        double a = sc.nextDouble();
        double b = sc.nextDouble();
        double c = sc.nextDouble();
        double ret1 = add(a,b,c);
        System.out.println("小数最大值为： "+ret1);
        sc.close();

    }
}
